package city.spring.repository.mealService;

import city.spring.domain.entity.mealService.MealTimeEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MealTimeRepository extends BaseMapper<MealTimeEntity> {

    /**
     * 获取食谱的餐次
     *
     * @param recipesId 餐次ID
     * @return 食品列表
     */
    List<MealTimeEntity> getRecipesMealTime(@Param("recipesId") String recipesId);

}
